package com.cxs.tetrisdemo.common;

public class Constant {
    /*
        网格的行列数
     */
    public static final int GRID_COLS = 10;   // 列
    public static final int GRID_ROWS = 20;   // 行

    /*
        游戏控制
     */
    public static final int START_GAME = 1;
    public static final int PAUSE_GAME = 2;
    public static final int STOP_GAME = 3;
    /*
        方块左移
     */
    public static final int MOVE_LEFT = 1;
    /*
        方块右移
     */
    public static final int MOVE_RIGHT = 2;
    /*
        方块加速下落
     */
    public static final int MOVE_DOWN = 3;
    /*
        方块变形
     */
    public static final int BLOCK_TRANSFORM = 0;


    /*
        每1000毫秒下落一次,数字越小速度越快
     */
    public static final int SPEED = 1000;

}
